package com.ys.erp.entity.data.bean;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author minamiyama
 */
@Data
@TableName(value = "t_user_cat_contracts")
@Accessors(chain = true)
public class UserCatContracts {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("contract_type")
    private String contractType;


    @TableField("sign_time")
    private LocalDateTime signTime;


    @TableField("file_url")
    private String fileUrl;

    @TableField("version")
    private Integer version;

    @TableField(value = "create_time")
    private LocalDateTime createTime;

    @TableField(value = "update_time", update = "now()")
    private LocalDateTime updateTime;
}
